package cn.sccl.dirms.monitor.controller;

import java.util.Map;

public class TestSnmp {

    public static void main(String args[]) {
        CommonController commonController = new CommonController();
        Map<String,Object> restulMap = commonController.getHostIdToIncomingAndOutgoingData();
        for (String key: restulMap.keySet()) {
            Map<String,String> inoroutMap = (Map<String, String>) restulMap.get(key);
            System.out.println("hostid ---> " + key);
            System.out.println("\t\t\t incoming ---> " + inoroutMap.get("incoming"));
            System.out.println("\t\t\t outgoing ---> " + inoroutMap.get("outgoing"));
        }
    }
}
